﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Web.UI;
using System.Web.UI.WebControls;

[assembly: WebResource("ControlLibrary.CustomButton_JScript.js", "application/javascript")]
namespace ControlLibrary
{
    public class Class1 : WebControl
    {
        protected override void RenderContents(HtmlTextWriter writer)
        {
            string path = Page.ClientScript.GetWebResourceUrl(this.GetType(), "ControlLibrary.CustomButton_JScript.js");
            writer.Write("SSSSSS");
            writer.Write(path);
            //Page.ClientScript.RegisterClientScriptInclude ("MyJavaScript", Page.ClientScript.GetWebResourceUrl(this.GetType(), "ControlLibrary.CustomButton_JScript.js"));
            base.RenderContents(writer);
        }
    }
}
